/ leetcodesolve / Toph.co / Byang's Day Out!.py
swadhinbiswas update on Solver.countCGPA()Solver.countCGPA()Solver.countCGPA()Solver.countCGPA() · 1/15/2025
89a4b16
28 lines · 544 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class Solve:
    def tringleProblem(a:int,b:int,c:int)->None:
        try:
             x = a + b
             y = b + c
             z = a + c

             if(x >= c and y >= a and z >= b):
                print("Yes")
             else: 
                print("No")
        except Exception:
            return None




if __name__ == "__main__":
    testcase=int(input())

    for i in range(testcase):
        a, b, c = map(int, input().split())
        if a<=100 and b<=100 and c<=100:
           Solve.tringleProblem(a, b, c)